
package CMPRegistration;

import java.util.Collection;
import javax.ejb.CreateException;
import javax.ejb.EJBLocalHome;
import javax.ejb.FinderException;


/**
 * This is the local-home interface for Userregist enterprise bean.
 */
public interface UserregistLocalHome extends EJBLocalHome {
    
    UserregistLocal findByPrimaryKey(Integer key)  throws FinderException;

    public UserregistLocal create(Integer id, String lastName, String firstName, String eMail) throws CreateException;

    /**
     * 
     */
    Collection findById(Integer id) throws FinderException;

    /**
     * 
     */
    Collection findByLastName(String lastName) throws FinderException;

    /**
     * 
     */
    Collection findByFirstName(String firstName) throws FinderException;

    /**
     * 
     */
    Collection findByEMail(String eMail) throws FinderException;

    Collection findByAll() throws javax.ejb.FinderException;
    
    
}
